JavaScript

A5.chart.u.htmlmarker Method

Syntax

A5.chart.u.html.marker(html,point,drawSettings,data,temp,settings)

Description

The html text method is used to draw text on the chart.

Properties

positionarrayobject

The position to draw the marker at.

xnumber

The "x" position of the marker.

ynumber

The "y" position of the marker.

topnumber

The "top" position of the marker.

leftnumber

The "left" position of the marker.

rightnumber

The "right" position of the marker.

bottomnumber

The "bottom" position of the marker.

drawSettingsobject

The draw settings for the text. This is a very limited subset of the A5.chart Definition Label Object, though a full label definition can be passed in.

shapestringfunction(data,temp)

The shape of the marker. Values can be "dot" (the default), "bar-v", "bar-h", "bar-bltr", "bar-tlbr", "diamond", "square", "square-round", "x", "cross", "tri-b", "tri-t", "tri-r" and "tri-l". A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the shape.

sizenumberfunction(data,temp)

The size of the marker. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the size.

lineobject

The marker line definition. See A5.chart Definition Line Object.

fillobject

The marker fill definition. See A5.chart Definition Fill Object.

labelobject

The marker label. See A5.chart Definition Label Object.

attrsstringfunction(data,temp)

The attributes to add to the marker element. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the attributes.

tipstringfunction(data,temp)

The mouseover tip to add to the marker element. A function called with "data" (see A5.chart Render Data Object) and "temp" can be used to dynamically calculate the tip.

dataobject

The chart data. See A5.chart Render Data Object.

tempobject

The temporary object.

settingsobject

The top level chart settings.